package com.fita.entity.order;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author 宋剑宏
 *
 */
@Alias("PayType")
public enum PayType {
    
    PREPAY("预付"), 
    
    ARRIVEPAY("到付");
    
    private String description;

    /**
     * @param description
     */
    private PayType(String description) {
        this.description = description;
    }
    
    /**
     * 
     * @return
     */
    public boolean isPrepay() {
        return this.equals(PREPAY);
    }
    
    /**
     * 
     * @return
     */
    public boolean isArrivepay() {
        return this.equals(ARRIVEPAY);
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }
}
